import React from 'react'

export default function Item({ login, avatar_url, url }) {
  return (
    <div className="card">
      <a href={url} target="_blank" rel="noopener noreferrer">
        <img src={avatar_url} alt='avatar' style={{ width: '100px' }} />
      </a>
      <p className="card-text">{login}</p>
    </div>
  )
}
